﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000483 RID: 1155
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterSummonActivityStageCsReq : IMessage<EnterSummonActivityStageCsReq>, IMessage, IEquatable<EnterSummonActivityStageCsReq>, IDeepCloneable<EnterSummonActivityStageCsReq>, IBufferMessage
	{
		// Token: 0x17000EE0 RID: 3808
		// (get) Token: 0x06003402 RID: 13314 RVA: 0x0008F0D3 File Offset: 0x0008D2D3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterSummonActivityStageCsReq> Parser
		{
			get
			{
				return EnterSummonActivityStageCsReq._parser;
			}
		}

		// Token: 0x17000EE1 RID: 3809
		// (get) Token: 0x06003403 RID: 13315 RVA: 0x0008F0DA File Offset: 0x0008D2DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterSummonActivityStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000EE2 RID: 3810
		// (get) Token: 0x06003404 RID: 13316 RVA: 0x0008F0EC File Offset: 0x0008D2EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterSummonActivityStageCsReq.Descriptor;
			}
		}

		// Token: 0x06003405 RID: 13317 RVA: 0x0008F0F3 File Offset: 0x0008D2F3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterSummonActivityStageCsReq()
		{
		}

		// Token: 0x06003406 RID: 13318 RVA: 0x0008F108 File Offset: 0x0008D308
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterSummonActivityStageCsReq(EnterSummonActivityStageCsReq other) : this()
		{
			this.groupId_ = other.groupId_;
			this.fightStageId_ = other.fightStageId_;
			this.cNCCNOGDIEP_ = ((other.cNCCNOGDIEP_ != null) ? other.cNCCNOGDIEP_.Clone() : null);
			this.avatarList_ = other.avatarList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003407 RID: 13319 RVA: 0x0008F171 File Offset: 0x0008D371
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterSummonActivityStageCsReq Clone()
		{
			return new EnterSummonActivityStageCsReq(this);
		}

		// Token: 0x17000EE3 RID: 3811
		// (get) Token: 0x06003408 RID: 13320 RVA: 0x0008F179 File Offset: 0x0008D379
		// (set) Token: 0x06003409 RID: 13321 RVA: 0x0008F181 File Offset: 0x0008D381
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x17000EE4 RID: 3812
		// (get) Token: 0x0600340A RID: 13322 RVA: 0x0008F18A File Offset: 0x0008D38A
		// (set) Token: 0x0600340B RID: 13323 RVA: 0x0008F192 File Offset: 0x0008D392
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FightStageId
		{
			get
			{
				return this.fightStageId_;
			}
			set
			{
				this.fightStageId_ = value;
			}
		}

		// Token: 0x17000EE5 RID: 3813
		// (get) Token: 0x0600340C RID: 13324 RVA: 0x0008F19B File Offset: 0x0008D39B
		// (set) Token: 0x0600340D RID: 13325 RVA: 0x0008F1A3 File Offset: 0x0008D3A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CEPGECDBNFF CNCCNOGDIEP
		{
			get
			{
				return this.cNCCNOGDIEP_;
			}
			set
			{
				this.cNCCNOGDIEP_ = value;
			}
		}

		// Token: 0x17000EE6 RID: 3814
		// (get) Token: 0x0600340E RID: 13326 RVA: 0x0008F1AC File Offset: 0x0008D3AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<CEPGECDBNFF> AvatarList
		{
			get
			{
				return this.avatarList_;
			}
		}

		// Token: 0x0600340F RID: 13327 RVA: 0x0008F1B4 File Offset: 0x0008D3B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterSummonActivityStageCsReq);
		}

		// Token: 0x06003410 RID: 13328 RVA: 0x0008F1C4 File Offset: 0x0008D3C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterSummonActivityStageCsReq other)
		{
			return other != null && (other == this || (this.GroupId == other.GroupId && this.FightStageId == other.FightStageId && object.Equals(this.CNCCNOGDIEP, other.CNCCNOGDIEP) && this.avatarList_.Equals(other.avatarList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003411 RID: 13329 RVA: 0x0008F238 File Offset: 0x0008D438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.FightStageId != 0U)
			{
				num ^= this.FightStageId.GetHashCode();
			}
			if (this.cNCCNOGDIEP_ != null)
			{
				num ^= this.CNCCNOGDIEP.GetHashCode();
			}
			num ^= this.avatarList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003412 RID: 13330 RVA: 0x0008F2B4 File Offset: 0x0008D4B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003413 RID: 13331 RVA: 0x0008F2BC File Offset: 0x0008D4BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003414 RID: 13332 RVA: 0x0008F2C8 File Offset: 0x0008D4C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.FightStageId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.FightStageId);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.GroupId);
			}
			if (this.cNCCNOGDIEP_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.CNCCNOGDIEP);
			}
			this.avatarList_.WriteTo(ref output, EnterSummonActivityStageCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003415 RID: 13333 RVA: 0x0008F350 File Offset: 0x0008D550
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.FightStageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FightStageId);
			}
			if (this.cNCCNOGDIEP_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CNCCNOGDIEP);
			}
			num += this.avatarList_.CalculateSize(EnterSummonActivityStageCsReq._repeated_avatarList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003416 RID: 13334 RVA: 0x0008F3D4 File Offset: 0x0008D5D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterSummonActivityStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.FightStageId != 0U)
			{
				this.FightStageId = other.FightStageId;
			}
			if (other.cNCCNOGDIEP_ != null)
			{
				if (this.cNCCNOGDIEP_ == null)
				{
					this.CNCCNOGDIEP = new CEPGECDBNFF();
				}
				this.CNCCNOGDIEP.MergeFrom(other.CNCCNOGDIEP);
			}
			this.avatarList_.Add(other.avatarList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003417 RID: 13335 RVA: 0x0008F461 File Offset: 0x0008D661
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003418 RID: 13336 RVA: 0x0008F46C File Offset: 0x0008D66C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 32U)
					{
						this.FightStageId = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 74U)
					{
						if (this.cNCCNOGDIEP_ == null)
						{
							this.CNCCNOGDIEP = new CEPGECDBNFF();
						}
						input.ReadMessage(this.CNCCNOGDIEP);
						continue;
					}
					if (num == 114U)
					{
						this.avatarList_.AddEntriesFrom(ref input, EnterSummonActivityStageCsReq._repeated_avatarList_codec);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x0400146D RID: 5229
		private static readonly MessageParser<EnterSummonActivityStageCsReq> _parser = new MessageParser<EnterSummonActivityStageCsReq>(() => new EnterSummonActivityStageCsReq());

		// Token: 0x0400146E RID: 5230
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400146F RID: 5231
		public const int GroupIdFieldNumber = 6;

		// Token: 0x04001470 RID: 5232
		private uint groupId_;

		// Token: 0x04001471 RID: 5233
		public const int FightStageIdFieldNumber = 4;

		// Token: 0x04001472 RID: 5234
		private uint fightStageId_;

		// Token: 0x04001473 RID: 5235
		public const int CNCCNOGDIEPFieldNumber = 9;

		// Token: 0x04001474 RID: 5236
		private CEPGECDBNFF cNCCNOGDIEP_;

		// Token: 0x04001475 RID: 5237
		public const int AvatarListFieldNumber = 14;

		// Token: 0x04001476 RID: 5238
		private static readonly FieldCodec<CEPGECDBNFF> _repeated_avatarList_codec = FieldCodec.ForMessage<CEPGECDBNFF>(114U, CEPGECDBNFF.Parser);

		// Token: 0x04001477 RID: 5239
		private readonly RepeatedField<CEPGECDBNFF> avatarList_ = new RepeatedField<CEPGECDBNFF>();
	}
}
